﻿@model BlackBox.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<div id="register-surrounding-div">
    <h1 id="register-title">@ViewBag.Title</h1>

    <div id="register-form">
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary()

        <fieldset>
            <legend></legend>
            <ol id="register-list">
                <li>
                    @Html.LabelFor(m => m.UserName)
                </li>
                <li class="register-list-items">
                    @Html.TextBoxFor(m => m.UserName)
                </li>
                <li>
                    @Html.LabelFor(m => m.Email)
                </li>
                <li class="register-list-items">
                    @Html.TextBoxFor(m => m.Email)
                </li>
                <li>
                    @Html.LabelFor(m => m.Password)
                </li>
                <li class="register-list-items">
                    @Html.PasswordFor(m => m.Password)
                </li>
                <li>
                    @Html.LabelFor(m => m.ConfirmPassword)
                </li>
                <li class="register-list-items">
                    @Html.PasswordFor(m => m.ConfirmPassword)
                </li>
            </ol>
            <input id="register-button" type="submit" value="Register" />
        </fieldset>
    }
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
